from django.urls import path
from . import views

app_name = 'users'

urlpatterns = [
    # 用户管理
    path('', views.user_list, name='user_list'),
    path('create/', views.user_create, name='user_create'),
    path('<int:pk>/', views.user_detail, name='user_detail'),
    path('<int:pk>/edit/', views.user_edit, name='user_edit'),
    path('<int:pk>/toggle-active/', views.user_toggle_active, name='user_toggle_active'),
]
